/// <reference path="../Scripts/jquery-1.7.1.min.js" />
/// <reference path="../Scripts/knockout-2.1.0.js" />

jQuery(document).ready(function () {
    var MyPasswordQuestionViewModel = new PasswordQuestionViewModel();
    ko.applyBindings(MyPasswordQuestionViewModel, document.getElementById('AddPasswordQuestionNode'));
    jQuery("#NewPasswordQuestionForm").validate({
        submitHandler: function (form) {
            MyPasswordQuestionViewModel.PasswordQuestion();
        },
        
				rules: {
					PasswordQuestionID: {
					required: true, 
					digits: true
					},
					PasswordQuestionDesc: {
					required: true, 
					},
					TS: {
					required: true, 
					digits: true
					},
				}
            
        
        

        
    });



    

    

    
});